package com.yanqu.road.logic.bussiness.activity;

import com.yanqu.road.entity.activity.specialcookboy.config.*;
import com.yanqu.road.entity.specialcookboy.SpecialCookBoyUserData;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.List;
import java.util.Map;

public class SpecialCookBoyBusiness {
    public static Map<Integer, SpecialCookBoyLevelConfig> getSpecialCookBoyLevelConfigList(int activityId) {
        return DaoHelper.getSpecialCookBoyConfigDaoImpl().getSpecialCookBoyLevelConfigList(activityId);
    }

    public static List<SpecialCookBoyItemConfig> getSpecialCookBoyItemConfigList(int activityId) {
        return DaoHelper.getSpecialCookBoyConfigDaoImpl().getSpecialCookBoyItemConfigList(activityId);
    }

    public static List<SpecialCookBoyEventConfig> getSpecialCookBoyEventConfigList(int activityId) {
        return DaoHelper.getSpecialCookBoyConfigDaoImpl().getSpecialCookBoyEventConfigList(activityId);
    }

    public static Map<Integer,SpecialCookBoyPromptConfig> getSpecialCookBoyPromptConfigMap(int activityId) {
        return DaoHelper.getSpecialCookBoyConfigDaoImpl().getSpecialCookBoyPromptConfigMap(activityId);
    }

    public static SpecialCookBoyUserData getSpecialCookBoyUserData(long playerId, int activityId) {
        return DaoHelper.getSpecialCookBoyUserDataDaoImpl().getSpecialCookBoyUserData(playerId);
    }

    public static boolean addSpecialCookBoyUserData(SpecialCookBoyUserData data) {
        return DaoHelper.getSpecialCookBoyUserDataDaoImpl().add(data);
    }

    public static boolean updateSpecialCookBoyUserData(SpecialCookBoyUserData data) {
        return DaoHelper.getSpecialCookBoyUserDataDaoImpl().update(data);
    }

    public static Map<Long, SpecialCookBoyUserData> getSpecialCookBoyUserDataMap() {
        return DaoHelper.getSpecialCookBoyUserDataDaoImpl().getSpecialCookBoyUserDataMap();
    }

    public static Map<Integer, SpecialCookBoyChoosePassRoadEventConfig> getSpecialCookBoyChoosePassRoadEventConfigMap(int activityId){
        return DaoHelper.getSpecialCookBoyConfigDaoImpl().getSpecialCookBoyChoosePassRoadEventConfigMap(activityId);
    }

    public static List<SpecialCookBoyTipConfig> getSpecialCookBoyTipConfigList(int activityId){
        return DaoHelper.getSpecialCookBoyConfigDaoImpl().getSpecialCookBoyTipConfigList(activityId);
    }

    public static List<SpecialCookBoyGuideConfig> getSpecialCookBoyGuideConfigList(int activityId){
        return DaoHelper.getSpecialCookBoyConfigDaoImpl().getSpecialCookBoyGuideConfigList(activityId);
    }

}
